package com.woniu.auth.mapper;

import com.woniu.auth.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {
    User findByUsername(String username);

    List<String> findPerms(int userId);
}
